package routes

import (
	"ssr/handlers"

	"github.com/gin-gonic/gin"
)

func AuthRoutes(r *gin.Engine) {
	authHandler := handlers.NewAuthHandler()

	route := r.Group("/auth")
	{
		route.POST("/login", authHandler.Login)
		route.POST("/register", authHandler.Register)
	}
}
